package com.neusoft.blog.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

//`id` int(11) auto_increment,
//        `catename` varchar(50) not null comment '栏目名称',
//        `enabletime` datetime  default now() comment '启用时间',
//栏目表
public class Category {
    private Integer id;
    private  String catename;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date enabletime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCatename() {
        return catename;
    }

    public void setCatename(String catename) {
        this.catename = catename;
    }

    public Date getEnabletime() {
        return enabletime;
    }

    public void setEnabletime(Date enabletime) {
        this.enabletime = enabletime;
    }
}
